import request from '@/utils/request'

//封装登录接口
export const login = (data) => {
    return request({ //需要return才能.then
        url: '/v1_0/authorizations',
        // 接口方式：post
        method: 'post',
        data
    })
}